<form name="del_rating" enctype="multipart/form-data" method="post">
	<input name="admin" type="hidden" value="1">
	<input name="module" type="hidden" value="reiting">
	<input name="referer" type="hidden" value="{ext->get_referer}">
	
	<input name="act" type="hidden" value="del_one">	
	<input name="parent" type="hidden" value="">
</form>

<div style="background-color:#DBE1E5; padding:0px 7px 0 7px; border-left:1px solid #C4CDD2; border-right:1px solid #C4CDD2; border-bottom:1px solid #C4CDD2; width:auto; margin:auto" class="this">
	<div style="width:100%; padding:7px 0px 7px 0px;">
	{include file="admin/modules/reiting/menu.htm"}
	{ext->class_function class="reiting" func="get_new_reitings" assign="list"}
	{ext->countArray array=$list assign="count"}
	{if $count > 0}
		{foreach from=$list key="id" item="item"}
			<div class="ReitingRow"><img class="btnImg" style="vertical-align:middle; margin:0 10px 0 12px" src="_tvs_system_core_/design/img/admin/_icon_delete.gif" onClick="if (confirm('{t t='Ar tikrai norite ištrinti'}')) {ldelim}window.document.forms['del_rating']['parent'].value = {$id}; window.document.forms['del_rating'].submit(); return false;{rdelim}"><b><a href="index.php?admin=1&module=reiting&tpl_reiting_module=edit&reiting_id={$id}" target="_self">{$item}</a></b></div>
		{/foreach}
	{else}		
		<div style="line-height:50px; background-color:#FFFFFF; text-align:center; margin:12px 0 12px 0; border-bottom:1px solid #25404E;  border-top:1px solid #25404E;">{t t='Nėra nei vieno reitingo'}.</div>
	{/if}
	</div>	
</div>